package com.yxq.mdt.app.modules.pm.ui;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.glide.GlideHelper;

import java.util.List;

/**
 * @author L
 * @time 2019-10-21
 * @describe 商品详情-评论中图片列表
 */
public class GoodsCommentImagesListAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public GoodsCommentImagesListAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        GlideHelper.setLoadRoundImage(mContext, item, R.color.gray, helper.getView(R.id.item_image));

    }

}
